package com.guosen.zebra.framework.starter.startup.condition;


import org.springframework.context.annotation.Conditional;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.METHOD })
@Conditional(OnNonEmptyPropertyCondition.class)
public @interface ConditionalOnNonEmptyProperty {
    String value() default "";
}
